<template>
  <div class="home-head">
    <van-icon name="31sousuo"
     @click="$router.push('/search')"
     class-prefix="icon" size="24px"></van-icon>
    <div class="logo-wrap">
      <img src="../../../assets/imgs/logo.png" alt="">
    </div>
  </div>
</template>

<script>
export default {

}
</script>

<style lang="scss" scoped>
.home-head{
  height: 46px;
  display: flex;
  align-items: center;
  width: 100%;
  position: fixed;
  left: 0;
  top: 0;
  z-index:10;
  background-color: #f3f5f7;
  .icon{
    margin-left: 10px;
  }
  .logo-wrap{
    flex:1;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    img{
      width: 4rem;
    }
  }
}
</style>
